| process_payment() |
C |
30 |
22 |
117 |
| ajax_recalculate_totals() |
B |
34 |
19 |
88 |
| build_payment_request() |
A |
38 |
14 |
66 |
| build_payment_request_line_items() |
A |
42 |
15 |
49 |
| get_payment_request_for_context() |
A |
42 |
13 |
47 |
| get_product_payment_request() |
A |
42 |
12 |
47 |
| allowed_for_cart() |
A |
54 |
13 |
18 |
| ajax_get_payment_request() |
A |
50 |
10 |
25 |
| get_current_page() |
A |
56 |
10 |
17 |
| get_state_code_by_name() |
A |
54 |
9 |
21 |
| add_payment_method() |
A |
44 |
7 |
44 |
| payment_fields() |
A |
56 |
8 |
19 |
| enqueue_scripts() |
S |
46 |
6 |
37 |
| calculate_shipping() |
S |
47 |
6 |
35 |
| prepare_payment_data() |
S |
52 |
6 |
22 |
| get_token_by_id() |
S |
57 |
6 |
15 |
| __construct() |
S |
45 |
4 |
39 |
| init_form_fields() |
S |
38 |
1 |
83 |
| process_admin_options() |
S |
55 |
5 |
20 |
| on_square_sync_gateway_enabled() |
S |
59 |
5 |
13 |
| getOrCreateSquareCustomerByUser() |
S |
50 |
4 |
28 |
| attempt_create_square_order() |
S |
62 |
5 |
10 |
| save_card_on_square() |
S |
54 |
2 |
23 |
| update_shipping_method() |
S |
65 |
3 |
9 |
| validate_payment_response() |
S |
67 |
3 |
7 |
| finalize_order_payment() |
S |
58 |
2 |
15 |
| get_cart_totals() |
S |
61 |
2 |
12 |
| render_add_payment_method_form() |
S |
59 |
1 |
24 |
| render_checkout_payment_form() |
S |
70 |
1 |
19 |
| get_needs_shipping() |
S |
67 |
2 |
8 |
| supported_product_types() |
S |
62 |
1 |
14 |
| remove_credit_card_fields() |
S |
74 |
1 |
4 |
| handle_error() |
S |
68 |
1 |
6 |
| handle_exception() |
S |
70 |
1 |
5 |